﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace POVRay {
    [System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple = false)]
    class PRParam : System.Attribute {
        public string Name { get; set; }
        public bool HasValue { get; set; } // if a property has no value, it must be (not nullable) bool type.
        public bool HasComma { get; set; }

        public PRParam() {
            Name = string.Empty;
            HasValue = true;
        }

        public PRParam(string name) {
            Name = name;
            HasValue = true;
        }
    }

    [System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple = true)]
    class PRParamIntMap : System.Attribute {
        public int Key { get; set; }
        public string Value { get; set; }

        public PRParamIntMap(int key, string value) {
            Key = key;
            Value = value;
        }
    }
}
